package org.blogwu.learn.designpattern.chapter10.v2;

/**
 * 校验是否有购买礼物的资格
 *
 * @author hyf
 * @date 2018-10-25
 **/
public class QualifyService {

    public boolean isAvailable(PointGift pointGift) {
        System.out.println("检验" + pointGift.getName() + " 积分资格校验通过");
        return true;
    }
}
